Deletes a local data file or folder. If filename is a relative path (which it should be) it will be based on the safe root of the data folder.